package com.erbao.thread;

/**
 * @author CaoBaoYin
 * @since 2022/1/3 12:05
 */
public class ThisEscape {

    private int num = 8;
    private Thread t;

    public ThisEscape() {
        t = new Thread(() -> System.out.println(this.num)
        );
    }

    public void start(){
        t.start();
    }

    public static void main(String[] args) throws Exception {
        new ThisEscape();
        System.in.read();
    }
}

